import os
import webbrowser
import sys

os.system("cls")
choice = 0
while choice != "q":

    print ("                                    - Internet -]")
    print ()
    print ()
    print ()
    print ()
    print ("                                    - Browsers -")
    print ()
    print ()
    print ("                     [gc] - Google Chrome - Google's own web browser")
    print ()
    print ("                     [ff] - Firefox 3 - One of the most popular browsers today")
    print ()
    print ("                     [fk] - Flock - A new browser simlilar to Firefox")
    print ()
    print ("                     [op] - Opera - A fast alternative browser")
    print ()
    print ("                     [saf] - Safari - A fast browser made by Apple")
    print ()
    print ("                                        - OR -")
    print ()
    print ("                          Type back to return to categories")
    print ()
    print ()

    choice = input("Type Here: ")
    print
    if choice == "gc":
        os.system("wget -P ../downloads/Browsers/Google_Chrome http://dl.google.com/tag/s/appguid%3D%7B8A69D345-D564-463C-AFF1-A69D9E530F96%7D%26iid%3D%7B20B0D6D3-EE12-D684-5BA4-B40238D83DF3%7D%26lang%3Den%26browser%3D3%26usagestats%3D1%26appname%3DGoogle%2520Chrome%26needsadmin%3Dfalse/update2/installers/ChromeSetup.exe")



    if choice == "ff":
        os.system("wget -P ../downloads/Browsers/Firefox http://mirror3.mirrors.tds.net/pub/mozilla.org/firefox/releases/3.0.4/win32/en-US/Firefox%20Setup%203.0.4.exe")

    if choice == "fk":
        os.system("wget -P ../downloads/Browsers/Flock http://ftp.osuosl.org/pub/flock/releases/2.0.2/bundle/flock-afc052961B81660/flock_afc052961B81660-2.0.2.en-US.win32.exe")

    if choice == "op":
        os.system("wget -P ../downloads/Browsers/Opera http://get.opera.com/pub/opera/win/962/en/Opera_962_en_Setup.exe")

    if choice == "saf":
        os.system("wget -P ../downloads/Browsers/Safari http://appldnld.apple.com.edgesuite.net/content.info.apple.com/Safari3/061-5806.20081124.bOHxyj/SafariSetup.exe")

    if choice == "back":
        os.system("python.exe win.py")





